Skip to content

chore: config gunicorn secure_scheme_headers#8632

Merged
rjsparks merged 2 commits intoietf-tools:mainfrom
jennifer-richards:gunicorn-scheme-headers
Mar 3, 2025
Merged

chore: config gunicorn secure_scheme_headers#8632
rjsparks merged 2 commits intoietf-tools:mainfrom
jennifer-richards:gunicorn-scheme-headers

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

@jennifer-richards jennifer-richards commented Mar 3, 2025

Ignore X-FORWARDED-PROTOCOL and X-FORWARDED-SSL headers, which we do not use and which cause warnings in our logs.

These being set was causing gunicorn to reject the requests with 400 status codes - instead, they'll go through but the headers will be ignored. If we want to reject traffic with those headers set as obviously garbage, we should do so elsewhere.

@rjsparks rjsparks merged commit 232a861 into ietf-tools:main Mar 3, 2025
@jennifer-richards jennifer-richards deleted the gunicorn-scheme-headers branch March 3, 2025 19:00
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants